<?php 
header('Content-Type:text/html; charset=windows-874');

$re_diploma_id = $_POST['re_diploma_id'];
$admin_comment_stu_request_dip = iconv('utf-8', 'tis-620', $_POST['admin_comment_stu_request_dip']);
$admin_check_stu_request_dip = $_POST['admin_check_stu_request_dip'];

include 'connect.php';

$sqls = "use eiso ";
$sqls .= " update request_diploma set ";
$sqls .= " re_total_check_comment = '".$admin_comment_stu_request_dip."' ";
$sqls .= " ,staff_id = ".$admin_check_stu_request_dip." ";
$sqls .= " ,check_step = '1' ";
$sqls .= " where re_diploma_id = ".$re_diploma_id."";

$result = mssql_query($sqls);

?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
</head>